package service;

import entity.Department;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface DepartmentService {
    Department getDepartmentByDepID(String depID);
    List<Department> getAllDepartments();

    boolean updateDepartment(Department department);

    boolean deleteDepartment(String depID);

    boolean addDepartment(Department department);

    List<Department> getDepartmentByDepNameORDepID(String depID,String depName);
}
